<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>学生信息列表</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>
<body>
    <blockquote class="layui-elem-quote layui-text" >
    学生表单
    </blockquote>
    <div style="margin-top: 20px;margin-left: 20px;">
        学生搜索:
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" name="timerange" id="timerange"  placeholder="请选择时间范围" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" name="keyword" id="keyword"  placeholder="请输入班级关键字" autocomplete="off" class="layui-input">
            </div>
        </div>
        <button id="studentsearch" type="button" class="layui-btn">
            <i class="layui-icon layui-icon-search"></i>
        </button>
    </div>
<table class="layui-hide" id="studentlist" lay-filter="studentTable"></table>
<!--行工具栏-->
<script type="text/html" id="barDemo">
    <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<!--头工具栏-->
<script type="text/html" id="head-option">
    <a class="layui-btn" lay-event="upload">添加学生</a>
    <a class="layui-btn layui-btn-danger" lay-event="delete">批量删除</a>
</script>
<script src="/layui/layui.js"></script>
<script src="/js/student.js"></script>
    <!--学生信息修改框-->
    <form style="display:none;" class="layui-form layui-form-pane" lay-filter="updatestudent" id="updatestudent">
        <!--学生的id属性-->
        <input name="studentId" class="layui-input" type="hidden"autocomplete="off">
        <blockquote class="layui-elem-quote layui-text">
            学生信息修改
        </blockquote>
        <div class="layui-form-item">
            <label class="layui-form-label">学生姓名：</label>
            <div class="layui-input-inline">
                <input name="studentName" class="layui-input" type="text"  autocomplete="off"
                       lay-verify="required">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">学号：</label>
            <div class="layui-input-inline">
                <input name="studentCode" class="layui-input" type="text"  autocomplete="off"
                       lay-verify="number">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号码：</label>
            <div class="layui-input-inline">
                <input name="studentTelephone" class="layui-input" type="text"  autocomplete="off"
                       lay-verify="phone">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别：</label>
            <div class="layui-input-block">
                <input type="radio" name="studentSex" value="0" title="男">
                <input type="radio" name="studentSex" value="1" title="女">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">入学日期：</label>
                <div class="layui-input-block">
                    <input name="studentEnrolment" class="layui-input"  id="date1" type="text" autocomplete="off">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属班级：</label>
            <div class="layui-input-block" style="width: 40%;">
                <select name="studentClass"  lay-verify="required" lay-filter="className" id="className">
                    <option value=""></option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">学生状态：</label>
            <div class="layui-input-block">
                <input type="radio" name="studentStatus" value="1" title="启用">
                <input type="radio" name="studentStatus" value="0" title="禁用">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button id="submit" type="submit" class="layui-btn" lay-submit="" lay-filter="updatestudent">修改</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</body>
</html>